const router=require('@koa/router')()

const {
    login,
    loginout,
    register
}=require('../controllers/user_controller')

//登录接口
router.get('/login',login)
//注册接口
router.post('/register',register)
//退出接口
router.get('/loginout',loginout)

module.exports=router
